<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="keywords" content="<%=website.w_keywords%>" />
    <meta name="description" content="<%=website.w_description%>" />
    <title><%=website.w_title%></title>
    <link rel="stylesheet" href="./../../admin/layui/css/layui.css">
</head>

<body class="layui-layout-body">
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
            <div class="layui-logo"><%=website.w_keywords%></div>
            <!-- 头部区域（可配合layui已有的水平导航） -->
            <ul class="layui-nav layui-layout-left">
                <li class="layui-nav-item"><a href="">控制台</a></li>
                <li class="layui-nav-item"><a href="">商品管理</a></li>
                <li class="layui-nav-item"><a href="">用户</a></li>
                <li class="layui-nav-item">
                    <a href="javascript:;">其它系统</a>
                    <dl class="layui-nav-child">
                        <dd><a href="">邮件管理</a></dd>
                        <dd><a href="">消息管理</a></dd>
                        <dd><a href="">授权管理</a></dd>
                    </dl>
                </li>
            </ul>
            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <img src="./../../upload/<%=user.u_img%>" class="layui-nav-img">
                        <%=user.u_name%>
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a href="">基本资料</a></dd>
                        <dd><a href="">安全设置</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item"><a href="">退了</a></li>
            </ul>
        </div>

        <div class="layui-side layui-bg-black">
            <div class="layui-side-scroll">
                <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                <ul class="layui-nav layui-nav-tree" lay-filter="test">
                        <li class="layui-nav-item layui-nav-itemed">
                        <%menu.forEach(ele=>{
                            if(ele.m_parent==0){%>
                                <a class="" href="javascript:;">
                                    <i class="<%=ele.m_icon%>"></i>
                                    <%=ele.m_name%></a>
                                <dl class="layui-nav-child">
                            <%}else{%>
<dd><a href="javascript:;" data-menuid="<%=ele.m_num%>" data-title="<%=ele.m_name%>" data-url="<%=ele.m_url%>"><i class="<%=ele.m_icon%>"></i>
        <%=ele.m_name%></a></dd>
                            <%}
                        })%>
                                </dl>
                        </li>
                </ul>
            </div>
        </div>

        <div class="layui-body">
            <!-- 内容主体区域 -->
            <div style="padding: 15px;">
                <div class="layui-tab" lay-filter="demo" lay-allowclose="true">
                    <ul class="layui-tab-title">
                        
                    </ul>
                    <div class="layui-tab-content">
                        
                    </div>
                </div>
                
            </div>
        </div>

        <div class="layui-footer">
            <!-- 底部固定区域 -->
            © layui.com - 底部固定区域
        </div>
    </div>
</body>

</html>
<script src="./../../admin/layui/layui.js" charset="utf-8"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
<script>
    layui.config({
            base: './../../admin/js/', //假设这是你存放拓展模块的根目录
            version:"1.0.1"
        }).use("index");
</script>